import Main from "@/components/main";

export default [
  {
    path: "/alarm",
    name: "alarm",
    meta: {
      icon: "logo-buffer",
      title: "告警管理"
    },
    component: Main,
    children: [
      {
        path: "/alarm",
        name: "alarm",
        meta: {
          icon: "logo-buffer",
          title: "告警信息"
        },
        component: resolve =>
          void require(["@/view/alarm/alarm/alarm.vue"], resolve)
      },
      {
        path: "/heart-beat",
        name: "heart-beat",
        meta: {
          icon: "logo-buffer",
          title: "心跳管理"
        },
        component: resolve =>
          void require(["@/view/alarm/heart-beat/heartBeat.vue"], resolve)
      }
    ]
  }
];
